local app = require "app"
local gamelib = require "club.threecard.gamelib"
local package = "club.threecard.bjracing"

local game = gamelib.game.new({
    package = package,
    modules = 
    {
        ["pokerlib"] = gamelib.GameCore.Poker;
    },
    on_start = function(self)
        self.kbe.register("GDPPlayer")
        self.kbe.register("GDPRoom")
    end,
    on_started = function(self)
        self.ui.init_routes()
        self.router.go("/main")
    end
})
return game